export const ENTERPRISE_SIDEBAR = [
    {name: '共享服务', icon: 'icon-test2', router: '/enterprise/demand/position-list'},
    {name: '招聘管理', icon: 'recruit', router: '/share/hire/list'},
    // {name: '招聘统计', icon: 'icon-test'},
    {name: '企业信息', icon: 'qiyexinxi', router: '/enterprise/info'},
    // {name: '系统消息', icon: 'xitongxiaoxi'}
]

export const PLATFORM_SIDEBAR = [
    {name: '审核公司', icon: 'shenhe1', router: '/platform/exam-list'},
    {name: '客户管理', icon: 'iconkh1', router: '/platform/enterprise/list'},
    {name: '共享服务', icon: 'icon-test2', router: '/enterprise/demand/position-list'},
    {name: '招聘管理', icon: 'gongzuojingyan', router: '/share/hire/list'},
    {name: '系统设置', icon: 'icon-test3', router: '/platform/park/list'}
]

export const AGENCY = [
    {name: '招聘信息', icon: 'shenhe1', router: '/agency/hire/list'},
    // {name: '统计分析', icon: 'iconkh1', router: ''},
]


export const SIDEBARS = {
    'ENTERPRISE': ENTERPRISE_SIDEBAR,
    'PLATFORM': PLATFORM_SIDEBAR,
    'AGENCY': AGENCY
}

export const shareRouters = [
    {name: '职位需求', router: '/enterprise/demand/position-list'},
    {name: '渠道需求', router: '/enterprise/demand/channel-list'},
    {name: '职位供应', router: '/enterprise/share/position-list'},
    {name: '渠道供应', router: '/enterprise/share/channel-list'},
    {name: '简历共享', router: '/share/resume-list'},
    // {name: '职位回应', router: '/platform/share-react/position'},
    // {name: '渠道回应', router: '/platform/share-react/channel'},
]

export const sysRouters = [
    {name: '园区管理', router: '/platform/park/list'},
    {name: '账户管理', router: '/platform/account/list'},
    {name: '行业岗位', router: '/platform/sys/position-list'},
    {name: '城市管理', router: '/platform/sys/city-list'},
]

export const clientRouters = [
    {name: '企业管理', router: '/platform/enterprise/list'},
    {name: '第三方管理', router: '/platform/agency/list'},
    {name: '个人管理', router: '/platform/candidate/list'},
]

export const recruitRouters = [
    {name: '招聘信息', router: '/share/hire/list'},
    {name: '招聘会', router: '/enterprise/job-fair'},
    {name: '面试安排', router: '/share/hire/interview-list'},
    {name: '市场简历', router: '/share/find-resume'},
]

export const ptRecruitRouters = [
    {name: '招聘信息', router: '/share/hire/list'},
    {name: '招聘会', router: '/platform/job-fair/list'},
    {name: '面试安排', router: '/share/hire/interview-list'},
    {name: '市场简历', router: '/share/find-resume'},
]

export const salaryRange = [
    {value: 'LT_1000', displayValue: '1K以下'},
    {value: 'LT_2000', displayValue: '1K-2K'},
    {value: 'LT_3000', displayValue: '2K-3K'},
    {value: 'LT_5000', displayValue: '3K-5K'},
    {value: 'LT_8000', displayValue: '5K-8K'},
    {value: 'LT_10000', displayValue: '8K-10K'},
    {value: 'LT_15000', displayValue: '10K-15K'},
    {value: 'LT_25000', displayValue: '10K-25K'},
    {value: 'LT_35000', displayValue: '30K-35K'},
    {value: 'LT_50000', displayValue: '30K-50K'},
    {value: 'LT_50000', displayValue: '50K以上'}
]

//简历状态
export const resumeStatus = [
    {value: 'JOB_THINKING', displayValue: '在职－考虑机会'},
    {value: 'JOB_NO_THINKING', displayValue: '在职－暂不考虑'},
    {value: 'RESIGN_ANY_TIME', displayValue: '离职－随时到岗'},
]

export const gender = [
    {value: 'BOY', displayValue: '男'},
    {value: 'GIRL', displayValue: '女'}
]

//企业类型
export const companyKind = [
    {value: 'ENTERPRISE', displayValue: '企业'},
    {value: 'AGENCY', displayValue: '第三方'}
]

//企业规模
export const companyScale = [
    {value: 'LT_20', displayValue: '0-20人'},
    {value: 'LT_99', displayValue: '20-99人'},
    {value: 'LT_400', displayValue: '100-400人'},
    {value: 'LT_1000', displayValue: '400-1000人'},
    {value: 'LT_2000', displayValue: '1000-2000人'},
    {value: 'GT_2000', displayValue: '2000人以上'}
]

//渠道类型
export const channelType = [
    {value: 'PERSON', displayValue: '个人'},
    {value: 'SCHOOL', displayValue: '学校'},
    {value: 'AGENCY', displayValue: '中介'},
    {value: 'OTHER', displayValue: '其他'}
]

//就业类型
export const jobType = [
    {value: 'TRAINEE', displayValue: '实习'},
    {value: 'SUMMER', displayValue: '暑假工'},
    {value: 'WINTER', displayValue: '寒假工'},
    {value: 'FLEXIBLE', displayValue: '灵活就业'},
    {value: 'JOB', displayValue: '长期就业'},
]

export const workYears = [
    {value: 0, displayValue: '不限'},
    {value: '3', displayValue: '1-3年'},
    {value: '5', displayValue: '3-5年'},
    {value: '10', displayValue: '5-10年'},
    {value: '10', displayValue: '10年以上'},
]

export const degree = [
    {value: 0, displayValue: '不限'},
    {value: 1, displayValue: '初中以上'},
    {value: 2, displayValue: '高中以上'},
    {value: 3, displayValue: '大专以上'},
    {value: 4, displayValue: '本科以上'},
    {value: 5, displayValue: '硕士以上'},
    {value: 6, displayValue: '博士以上'},
]


export const Degree = [
    {value: 0, displayValue: '初中以下'},
    {value: 1, displayValue: '初中'},
    {value: 2, displayValue: '高中'},
    {value: 3, displayValue: '大专'},
    {value: 4, displayValue: '本科'},
    {value: 5, displayValue: '硕士'},
    {value: 6, displayValue: '博士'},
]

export const examCompanyState = [
    {value:'WAIT',displayValue: '待审核'},
    {value:'PASS',displayValue: '通过'},
    {value:'REJECT',displayValue: '拒绝'}
]

export const positionType = [
    {
        value: 'sale',
        label: '销售类',
        children: [
            {
                value: 'sale1',
                label: '销售类1',
            },
            {
                value: 'sale2',
                label: '销售类2',
            }
        ]
    },
    {
        value: 'hr',
        label: '行政人事类',
        children: [
            {
                value: 'hr1',
                label: '行政人事类1',
            },
            {
                value: 'hr2',
                label: '行政人事类2',
            }
        ]
    },
    {
        value: 'manage',
        label: '管理类',
        children: [
            {
                value: 'manage1',
                label: '管理类1',
            },
            {
                value: 'manage2',
                label: '管理类2',
            }
        ]
    },
    {
        value: 'tec',
        label: '技术类',
        children: [
            {
                value: 'tec1',
                label: '技术类1',
            },
            {
                value: 'tec2',
                label: '技术类2',
            }
        ]
    },
]